A device that transfers heat from something at a lower temperature to something at a higher temperature by doing work